<?php
/**
 * Camp table class - SITE
 * 
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_4
 * @license		GNU/GPL
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

/**
 * Camp Table class
 * @package    Joomla.Tutorials
 * @subpackage Components
 */
class TableCamp extends JTable
{
	var $ID = null;					// int - Primary Key
	var $CampName = null; 			// string
	var $Region = null; 			// string
	var $City = null; 				// string
	var $PostalCode = null; 		// string
	var $MinAge = null; 			// int
	var $MaxAge = null; 			// int
	var $StartDate = null; 			// string - date
	var $EndDate = null; 			// string - date
	var $Description = null; 		// string
	var $ContactName = null; 		// string
	var $ContactNameVisible = null; // boolean
	var $Email = null; 				// string
	var $EmailVisible = null; 		// boolean
	var $Website = null; 			// string
	var $Phone = null; 				// string
	var $PhoneVisible = null; 		// boolean
	var $Approved = null; 			// boolean

	/**
	 * Constructor
	 *
	 * @param object Database connector object
	 */
	function TableCamp(& $db) {
		parent::__construct('#__summercamps', 'ID', $db);
	}
}